package ben.samplegame.engine;


import java.awt.Graphics;
import java.awt.Graphics2D;
import java.io.File;
import java.util.ArrayList;
import ben.samplegame.sprite.SampleLevel;
import game.engine.GameController;
import game.engine.GameLevel;
import game.userinteraction.UserInputHandler;
import java.util.ArrayList;

/**
 * 
 * @author team2
 *
 */
@SuppressWarnings("serial")
public class GravishotController extends GameController {

    /**
     * 
     * @param userInputHandler User input handler we will be using.
     * @throws SecurityException
     * @throws NoSuchMethodException
     */
    public GravishotController (UserInputHandler userInputHandler)
            throws SecurityException, NoSuchMethodException {
        super(userInputHandler);
        SampleLevel sampleLevel = new SampleLevel(null, null, userInputHandler);
        ArrayList<GameLevel> sampleLevels = new ArrayList<GameLevel>();
        sampleLevels.add(sampleLevel);
        setGameLevels(sampleLevels);
        loadLevel(0);
    }

    @Override
    public void showGameOver () {
        

    }

    @Override
    public void gameWinMessage () {

    }
        
        
    
    /**
     * Paint the board by telling Update active level
     */
    @Override
    public void paint (Graphics g) {
        super.paint(g);
        checkForWinningConditions();
    }

    private void checkForWinningConditions () {
        //implement to check for winning conditions
        
    }

}
